package campus.aiit.ssl.domain.param;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author ihaokun
 * @date 2019/12/13 8:54
 */
@Setter
@AllArgsConstructor@NoArgsConstructor
public class BadResult {
  private BadStatusEnum status;
  private String msg;

  @Override
  public String toString() {
    return "{" +
        "\"status\":" + status.getCode() + "," +
        "\"message\":" + "\"" + msg + "\"" +
        "}";
  }
}